package com.zecan.blog.common.status.code;

/**
 * @ClassName UserCode
 * @Description
 * @date 2022/10/29 11:48
 * @Version 1.0
 * 用户状态码
 */

public interface UserCode {

    Integer USER_LOGIN_SUCCESS = 201;
    Integer USER_SEND_EMAIL_SUCCESS = 202;
    Integer USER_REG_SUCCESS= 203;
    Integer USER_ADD_BLOG_SUCCESS= 204;
    Integer USER_LOGOUT_SUCCESS = 205;
    Integer USER_UPDATE_INFO_SUCCESS= 206;
    Integer USER_GET_ARTICLE_SUCCESS = 207;
    Integer USER_FOLLOW_IS_EXIST = 208;
    Integer USER_IS_NOT_FOLLOW = 209;


    Integer USER_GET_BLOG_MSG_SUCCESS = 210;

    Integer NOT_FOUND = -404;
    Integer USER_PASS_SHORT = -4001;
    Integer USER_NAME_TOO_SHORT = -4003;
    Integer USER_NAME_TOO_LONG = -4004;
    Integer USER_NAME_ALREADY_REG = -4005;
    Integer USER_REG_ERR = -4006;

    Integer USER_ADD_FRIEND_IS_EXIST = -4007;

    Integer USER_NOT_AUTHORITY = -408;
    Integer NOT_LOGIN = -409;
    Integer LOGIN_ERR = -410;
    Integer CAPTCHA_ERR = -411;
    Integer CAPTCHA_EXPIRE = -412;
    Integer EMAIL_ALREADY_EXISTS = -413;
    Integer EMAIL_FORMAT_ERR = -414;
    Integer EMAIL_SEND_ERR = -415;
    Integer ARTICLE_SEND_ERR = -415;
    Integer UPDATE_USER_INFO_ERR = -416;
    Integer ARTICLE_IS_DEL = -417;
    Integer USER_UPDATE_INFO_ACCESS_LIMIT = -418;

    Integer USER_SEND_EMAIL_ACCESS_LIMIT = -419;


    Integer USER_ADD_GOOD_ACCESS_LIMIT = -420;

    Integer USER_ADD_STAR_ACCESS_LIMIT = -421;

}
